package com.skhu.as.service;

import java.util.List;

import com.skhu.as.dao.DutyHoursD;
import com.skhu.as.domain.DutyHours;

public class DutyHoursS {
	
	private DutyHoursD dutyHoursD;

	public void setDutyHoursD(DutyHoursD dutyHoursD) {
		this.dutyHoursD = dutyHoursD;
	}
	
	public List<DutyHours> getDutyHoursList(){
		return dutyHoursD.getDutyHoursList();
	}
	
	public int deleteAllDutyHours(){
		return dutyHoursD.deleteAllDutyHours();
	}
	
	public int getDutyHoursMaxNo(){
		return dutyHoursD.getDutyHoursMaxNo();
	}
	
	public int insertDutyHours(int dutyHoursNo, String dutyHoursString){
		return dutyHoursD.insertDutyHours(dutyHoursNo, dutyHoursString);
	}
	
}
